package cn.ztuo.bitrade.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.messaging.handler.annotation.MessageMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WebSocketController {
    private  final Logger logger = LoggerFactory.getLogger(WebSocketController.class);

    @MessageMapping("/message/hoding")
    public void hoding(@RequestParam String msg){

        System.out.println("hodding "+msg+" ......");
    }
}